<template>
    <div class="page-header">
       {{props.title}}
    </div>
</template>

<script setup>
const props = defineProps({
    title: {
        type: String,
        default: ''
    }
})

</script>

<style lang="scss" scoped>
.page-header {
    background: #ffffff;
    font-size: 16px;
    font-weight: bold;
    color: var(--srt-main-text-color);
    height: 60px;
    line-height: 60px;
    padding: 0px 20px;
    border-radius: 4px;
    
    &::before {
        content: '';
        background: url(~@/assets/img/mooc/icon-info.png) no-repeat;
        width: 20px;
        height: 20px;
        background-size: contain;
        display: inline-block;
        margin-right: 6px;
        vertical-align: middle;
        transform: translateY(-1px);
    }
}

</style>